<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>
<script setup lang="ts">
import { onMounted, provide, reactive } from 'vue';
import zhCn from 'element-plus/es/locale/lang/zh-cn';
// @ts-ignore
import { GlobalState } from '@/renderer/global';

const global = reactive<GlobalState>(new GlobalState());

onMounted(() => {
  // Modules onMounted mark, Please do not remove.
});

console.log('global', global);
provide('global', global);
</script>
